package com.ruoyi.supermarket.service;

import java.util.List;
import com.ruoyi.supermarket.domain.SupermarketComShelf;
import com.ruoyi.supermarket.domain.SupermarketShelf;

/**
 * 超市货架信息Service接口
 * 
 * @author faye
 * @date 2024-05-28
 */
public interface ISupermarketComShelfService 
{

    public List<SupermarketShelf> selectShelfByComId(Long commodityId);

    /**
     * 查询超市货架信息
     * 
     * @param storageId 超市货架信息主键
     * @return 超市货架信息
     */
    public SupermarketComShelf selectSupermarketComShelfByStorageId(Long storageId);

    /**
     * 查询超市货架信息列表
     * 
     * @param supermarketComShelf 超市货架信息
     * @return 超市货架信息集合
     */
    public List<SupermarketComShelf> selectSupermarketComShelfList(SupermarketComShelf supermarketComShelf);

    /**
     * 新增超市货架信息
     * 
     * @param supermarketComShelf 超市货架信息
     * @return 结果
     */
    public int insertSupermarketComShelf(SupermarketComShelf supermarketComShelf);

    /**
     * 修改超市货架信息
     * 
     * @param supermarketComShelf 超市货架信息
     * @return 结果
     */
    public int updateSupermarketComShelf(SupermarketComShelf supermarketComShelf);

    /**
     * 批量删除超市货架信息
     * 
     * @param storageIds 需要删除的超市货架信息主键集合
     * @return 结果
     */
    public int deleteSupermarketComShelfByStorageIds(Long[] storageIds);

    /**
     * 删除超市货架信息信息
     * 
     * @param storageId 超市货架信息主键
     * @return 结果
     */
    public int deleteSupermarketComShelfByStorageId(Long storageId);
}
